Ext.onReady(function(){
	
	var store = new Ext.data.JsonStore({
		
	});
	
	var grid = new Ext.grid.GridPanel({
	    store:store,
	    colModel: new Ext.grid.ColumnModel({
	        defaults: {
	            width: 120,
	            sortable: true
	        },
	        columns: [
	            {id: 'company', header: 'Company', width: 200, sortable: true, dataIndex: 'company'},
	            {header: 'Price', renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
	            {header: 'Change', dataIndex: 'change'},
	            {header: '% Change', dataIndex: 'pctChange'},
	            {
	                header: 'Last Updated', width: 135, dataIndex: 'lastChange',
	                xtype: 'datecolumn', format: 'M d, Y'
	            }
	        ]
	    }),
	    sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
//	    width: 600,
//	    height: 300,
	    frame: true,
//	    title: '用户管理',
	    iconCls: 'icon-grid'
	});
	
	new Ext.Viewport({
		items : [grid]
	});
	
});